﻿using Mate.Db.Model.Info;
using Mate.Db.Model.Merchant;
using Mate.Dto.Info;
using System;
using System.Collections.Generic;
using System.Text;

namespace Mate.Dto.Merchant
{
    public class MerchantModel: mp_merchant
    {
        /// <summary>
        /// Desc:商户类型名称
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string merchantcategoryname { get; set; }

        private IList<MerchantCategoryTreeModel> _merchantCategorieList;
        /// <summary>
        /// 商户类型列表
        /// </summary>
        public IList<MerchantCategoryTreeModel> MerchantCategorieList
        {
            get { return _merchantCategorieList ?? (_merchantCategorieList = new List<MerchantCategoryTreeModel>()); }
            set { _merchantCategorieList = value; }
        }


        /// <summary>
        /// Desc:地区名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string districtname { get; set; }

        private IList<DistrictTreeModel> _districtList;
        /// <summary>
        /// 商户地区列表
        /// </summary>
        public IList<DistrictTreeModel> DistrictList
        {
            get { return _districtList ?? (_districtList = new List<DistrictTreeModel>()); }
            set { _districtList = value; }
        }

        private IList<KeyValuePair<string,string>> _merchantTagList;
        /// <summary>
        /// 商户标签列表
        /// </summary>
        public IList<KeyValuePair<string, string>> MerchantTagList
        {
            get { return _merchantTagList ?? (_merchantTagList = new List<KeyValuePair<string, string>>()); }
            set { _merchantTagList = value; }
        }
    }
}
